/**
 * Copyright 2020-2023 the original author or Linlan authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.linlan.commons.core;

import java.io.Serializable;

/**
 *
 * RequestAdvice视图域:请求页面BODY包装类
 * @author Linlan
 * CreateTime 2023-09-16 10:39:20<br>
 * @version 1.0<br>
 * @since 1.0<br>
 *
 */
public class RequestAdvice<T> implements Serializable  {
    private static final long serialVersionUID = 1L;

    /**
     * 请求数据对象，放入RequestBody内
     */
    private T data;

    /**
     * @return 数据对象
     */
    public T getData() {
        return data;
    }

    /**
     * @param data 数据对象
     */
    public void setData(T data) {
        this.data = data;
    }

}
